<?php

class WrBasicPeer extends BaseWrBasicPeer
{
  public static function getReportedWeeks()
  {
    $c = new Criteria();
    $c->addSelectColumn(WrBasicPeer::DATE1);
    $c->setDistinct();
    $stmt = WrBasicPeer::doSelectStmt($c);
    $weeks = $stmt->fetchAll(PDO::FETCH_COLUMN);
    $ret = array();
    foreach($weeks as $week) {
      $ret[] = strtotime($week);
    }
    return $ret;
  }
}
